package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 线索池收回规则表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "leads_pool_rule")
public class LeadsPoolRule implements Serializable {
    @TableId(value = "rule_no", type = IdType.INPUT)
    private Integer ruleNo;

    /**
     * 线索池id
     */
    @TableField(value = "pool_id")
    private Integer poolId;

    /**
     * 收回规则判断类型 1跟进记录
     */
    @TableField(value = "`type`")
    private Integer type;

    /**
     * 线索规则限制天数
     */
    @TableField(value = "limit_day")
    private Integer limitDay;

    private static final long serialVersionUID = 1L;
}